package com.apps.ftapp.model;

import java.util.List;

/**
 * Created by lyli on 2017/10/12.
 */

public class SubjectResultModel {


    /**
     * success : 1
     * items : [{"id":"630","type":"single_choice","stem":"<p>把大目标分成子目标，然后进行算子搜索逐渐缩小当前情境与目标状态之间的差异。这种解决问题的方法是（   ）<\/p>\n","score":"0.6","answer":["1"],"analysis":"","metas":{"choices":["<p>问题空间<\/p>\r\n","<p>手段一目的分析法<\/p>\r\n","<p>启发式<\/p>\r\n","<p>算法式<\/p>\r\n"]},"categoryId":"9","difficulty":"normal","target":"course-45","parentId":"0","subCount":"0","finishedTimes":"0","passedTimes":"0","userId":"42","updatedTime":"1488943482","createdTime":"1488943482","copyId":"0","includeImg":false,"testResult":{"id":"926987","itemId":"0","testId":"0","testPaperResultId":"11506","userId":"1","questionId":"630","question_category":"0","status":"noAnswer","score":"0.0","answer":[""],"teacherSay":"","pId":"0"}},{"id":"631","type":"single_choice","stem":"<p>某学生觉得学习太累，又怕成绩不好被别人笑话。这属于（   ）<\/p>\n","score":"0.6","answer":["1"],"analysis":"","metas":{"choices":["<p>双趋冲突<\/p>\r\n","<p>双避冲突<\/p>\r\n","<p>趋避冲突<\/p>\r\n","<p>多重趋避冲突<\/p>\r\n"]},"categoryId":"9","difficulty":"normal","target":"course-45","parentId":"0","subCount":"0","finishedTimes":"0","passedTimes":"0","userId":"42","updatedTime":"1488943501","createdTime":"1488943501","copyId":"0","includeImg":false,"testResult":{"id":"926983","itemId":"0","testId":"0","testPaperResultId":"11506","userId":"1","questionId":"631","question_category":"0","status":"noAnswer","score":"0.0","answer":[""],"teacherSay":"","pId":"0"}},{"id":"632","type":"single_choice","stem":"<p>冒失轻率的人遇事不加考虑，只凭一时冲动鲁莽行事，草率地做出决定和采取行动，他们不假思索，想及早摆脱内心的冲突。这是由于缺乏意志的（   ）<\/p>\n","score":"0.6","answer":["1"],"analysis":"","metas":{"choices":["<p>自觉性<\/p>\r\n","<p>果断性&nbsp;<\/p>\r\n","<p>坚持性&nbsp;&nbsp;<\/p>\r\n","<p>自制性<\/p>\r\n"]},"categoryId":"9","difficulty":"normal","target":"course-45","parentId":"0","subCount":"0","finishedTimes":"0","passedTimes":"0","userId":"42","updatedTime":"1488943521","createdTime":"1488943521","copyId":"0","includeImg":false,"testResult":{"id":"926988","itemId":"0","testId":"0","testPaperResultId":"11506","userId":"1","questionId":"632","question_category":"0","status":"noAnswer","score":"0.0","answer":[""],"teacherSay":"","pId":"0"}},{"id":"633","type":"single_choice","stem":"<p>人们对人或事物所持有的一套比较笼统、概括、固定的看法，并以这种看法作为评价人或事物的依据的是（   ）<\/p>\n","score":"0.6","answer":["3"],"analysis":"","metas":{"choices":["<p>首因效应<\/p>\r\n","<p>近因效应<\/p>\r\n","<p>晕轮效应<\/p>\r\n","<p>刻板效应<\/p>\r\n"]},"categoryId":"9","difficulty":"normal","target":"course-45","parentId":"0","subCount":"0","finishedTimes":"0","passedTimes":"0","userId":"42","updatedTime":"1488943541","createdTime":"1488943541","copyId":"0","includeImg":false,"testResult":{"id":"926982","itemId":"0","testId":"0","testPaperResultId":"11506","userId":"1","questionId":"633","question_category":"0","status":"noAnswer","score":"0.0","answer":[""],"teacherSay":"","pId":"0"}},{"id":"634","type":"single_choice","stem":"<p>学生尤其是小学生极易出现\u201c染于苍则苍，染于黄则黄\u201d的现象。这反映的性格的特点是（   ）<\/p>\n","score":"0.6","answer":["2"],"analysis":"","metas":{"choices":["<p>向师性&nbsp;<\/p>\r\n","<p>依赖性<\/p>\r\n","<p>可塑性<\/p>\r\n","<p>独特性<\/p>\r\n"]},"categoryId":"9","difficulty":"normal","target":"course-45","parentId":"0","subCount":"0","finishedTimes":"0","passedTimes":"0","userId":"42","updatedTime":"1488943561","createdTime":"1488943561","copyId":"0","includeImg":false,"testResult":{"id":"926986","itemId":"0","testId":"0","testPaperResultId":"11506","userId":"1","questionId":"634","question_category":"0","status":"noAnswer","score":"0.0","answer":[""],"teacherSay":"","pId":"0"}},{"id":"635","type":"single_choice","stem":"<p>人格特质理论中，用因素分析的方法，提出16种相互独立的根源物质的心理学家是（   ）<\/p>\n","score":"0.6","answer":["0"],"analysis":"","metas":{"choices":["<p>卡特尔<\/p>\r\n","<p>吉尔福特<\/p>\r\n","<p>奥尔波特<\/p>\r\n","<p>斯普兰格<\/p>\r\n"]},"categoryId":"9","difficulty":"normal","target":"course-45","parentId":"0","subCount":"0","finishedTimes":"0","passedTimes":"0","userId":"42","updatedTime":"1488943594","createdTime":"1488943594","copyId":"0","includeImg":false,"testResult":{"id":"926985","itemId":"0","testId":"0","testPaperResultId":"11506","userId":"1","questionId":"635","question_category":"0","status":"noAnswer","score":"0.0","answer":[""],"teacherSay":"","pId":"0"}},{"id":"636","type":"single_choice","stem":"<p>一个自愿到边远贫困地区支教的志愿者的行动说明（   ）<\/p>\n","score":"0.6","answer":["2"],"analysis":"","metas":{"choices":["<p>马斯洛的需要层次理论是错误的<\/p>\r\n","<p>生理和安全的需要并不具有最强大的力量<\/p>\r\n","<p>低级需要和高级需要并不是绝对对立的<\/p>\r\n","<p>不同的人对低级需要的需求是不同的<\/p>\r\n"]},"categoryId":"9","difficulty":"normal","target":"course-45","parentId":"0","subCount":"0","finishedTimes":"0","passedTimes":"0","userId":"42","updatedTime":"1488943616","createdTime":"1488943616","copyId":"0","includeImg":false,"testResult":{"id":"926984","itemId":"0","testId":"0","testPaperResultId":"11506","userId":"1","questionId":"636","question_category":"0","status":"noAnswer","score":"0.0","answer":[""],"teacherSay":"","pId":"0"}}]
     * results : {"id":"11506","paperName":"教育","testId":"0","categoryId":"9","userId":"1","score":"0.0","objectiveScore":"0.0","subjectiveScore":"0.0","teacherSay":"","rightItemCount":"0","passedStatus":"passed","limitedTime":"0","beginTime":"1507737983","endTime":"1507738046","updateTime":"0","active":"1","status":"finished","target":"course-45/lesson-45","checkTeacherId":"0","checkedTime":"1507738046","usedTime":"10"}
     */

    private int success;
    private ResultsBean results;
    private List<ItemsBean> items;
    private String error;

    public int getSuccess() {
        return success;
    }

    public void setSuccess(int success) {
        this.success = success;
    }

    public ResultsBean getResults() {
        return results;
    }

    public void setResults(ResultsBean results) {
        this.results = results;
    }

    public List<ItemsBean> getItems() {
        return items;
    }

    public void setItems(List<ItemsBean> items) {
        this.items = items;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

    public static class ResultsBean {
        /**
         * id : 11506
         * paperName : 教育
         * testId : 0
         * categoryId : 9
         * userId : 1
         * score : 0.0
         * objectiveScore : 0.0
         * subjectiveScore : 0.0
         * teacherSay :
         * rightItemCount : 0
         * passedStatus : passed
         * limitedTime : 0
         * beginTime : 1507737983
         * endTime : 1507738046
         * updateTime : 0
         * active : 1
         * status : finished
         * target : course-45/lesson-45
         * checkTeacherId : 0
         * checkedTime : 1507738046
         * usedTime : 10
         */

        private String id;
        private String paperName;
        private String testId;
        private String categoryId;
        private String userId;
        private String score;
        private String objectiveScore;
        private String subjectiveScore;
        private String teacherSay;
        private String rightItemCount;
        private String passedStatus;
        private String limitedTime;
        private String beginTime;
        private String endTime;
        private String updateTime;
        private String active;
        private String status;
        private String target;
        private String checkTeacherId;
        private String checkedTime;
        private String usedTime;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getPaperName() {
            return paperName;
        }

        public void setPaperName(String paperName) {
            this.paperName = paperName;
        }

        public String getTestId() {
            return testId;
        }

        public void setTestId(String testId) {
            this.testId = testId;
        }

        public String getCategoryId() {
            return categoryId;
        }

        public void setCategoryId(String categoryId) {
            this.categoryId = categoryId;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getScore() {
            return score;
        }

        public void setScore(String score) {
            this.score = score;
        }

        public String getObjectiveScore() {
            return objectiveScore;
        }

        public void setObjectiveScore(String objectiveScore) {
            this.objectiveScore = objectiveScore;
        }

        public String getSubjectiveScore() {
            return subjectiveScore;
        }

        public void setSubjectiveScore(String subjectiveScore) {
            this.subjectiveScore = subjectiveScore;
        }

        public String getTeacherSay() {
            return teacherSay;
        }

        public void setTeacherSay(String teacherSay) {
            this.teacherSay = teacherSay;
        }

        public String getRightItemCount() {
            return rightItemCount;
        }

        public void setRightItemCount(String rightItemCount) {
            this.rightItemCount = rightItemCount;
        }

        public String getPassedStatus() {
            return passedStatus;
        }

        public void setPassedStatus(String passedStatus) {
            this.passedStatus = passedStatus;
        }

        public String getLimitedTime() {
            return limitedTime;
        }

        public void setLimitedTime(String limitedTime) {
            this.limitedTime = limitedTime;
        }

        public String getBeginTime() {
            return beginTime;
        }

        public void setBeginTime(String beginTime) {
            this.beginTime = beginTime;
        }

        public String getEndTime() {
            return endTime;
        }

        public void setEndTime(String endTime) {
            this.endTime = endTime;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public String getActive() {
            return active;
        }

        public void setActive(String active) {
            this.active = active;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getTarget() {
            return target;
        }

        public void setTarget(String target) {
            this.target = target;
        }

        public String getCheckTeacherId() {
            return checkTeacherId;
        }

        public void setCheckTeacherId(String checkTeacherId) {
            this.checkTeacherId = checkTeacherId;
        }

        public String getCheckedTime() {
            return checkedTime;
        }

        public void setCheckedTime(String checkedTime) {
            this.checkedTime = checkedTime;
        }

        public String getUsedTime() {
            return usedTime;
        }

        public void setUsedTime(String usedTime) {
            this.usedTime = usedTime;
        }
    }

    public static class ItemsBean {
        /**
         * id : 630
         * type : single_choice
         * stem : <p>把大目标分成子目标，然后进行算子搜索逐渐缩小当前情境与目标状态之间的差异。这种解决问题的方法是（   ）</p>
         * <p>
         * score : 0.6
         * answer : ["1"]
         * analysis :
         * metas : {"choices":["<p>问题空间<\/p>\r\n","<p>手段一目的分析法<\/p>\r\n","<p>启发式<\/p>\r\n","<p>算法式<\/p>\r\n"]}
         * categoryId : 9
         * difficulty : normal
         * target : course-45
         * parentId : 0
         * subCount : 0
         * finishedTimes : 0
         * passedTimes : 0
         * userId : 42
         * updatedTime : 1488943482
         * createdTime : 1488943482
         * copyId : 0
         * includeImg : false
         * testResult : {"id":"926987","itemId":"0","testId":"0","testPaperResultId":"11506","userId":"1","questionId":"630","question_category":"0","status":"noAnswer","score":"0.0","answer":[""],"teacherSay":"","pId":"0"}
         */

        private String id;
        private String type;
        private String stem;
        private String score;
        private String analysis;
        private MetasBean metas;
        private String categoryId;
        private String difficulty;
        private String target;
        private String parentId;
        private String subCount;
        private String finishedTimes;
        private String passedTimes;
        private String userId;
        private String updatedTime;
        private String createdTime;
        private String copyId;
        private boolean includeImg;
        private TestResultBean testResult;
        private List<String> answer;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getStem() {
            return stem;
        }

        public void setStem(String stem) {
            this.stem = stem;
        }

        public String getScore() {
            return score;
        }

        public void setScore(String score) {
            this.score = score;
        }

        public String getAnalysis() {
            return analysis;
        }

        public void setAnalysis(String analysis) {
            this.analysis = analysis;
        }

        public MetasBean getMetas() {
            return metas;
        }

        public void setMetas(MetasBean metas) {
            this.metas = metas;
        }

        public String getCategoryId() {
            return categoryId;
        }

        public void setCategoryId(String categoryId) {
            this.categoryId = categoryId;
        }

        public String getDifficulty() {
            return difficulty;
        }

        public void setDifficulty(String difficulty) {
            this.difficulty = difficulty;
        }

        public String getTarget() {
            return target;
        }

        public void setTarget(String target) {
            this.target = target;
        }

        public String getParentId() {
            return parentId;
        }

        public void setParentId(String parentId) {
            this.parentId = parentId;
        }

        public String getSubCount() {
            return subCount;
        }

        public void setSubCount(String subCount) {
            this.subCount = subCount;
        }

        public String getFinishedTimes() {
            return finishedTimes;
        }

        public void setFinishedTimes(String finishedTimes) {
            this.finishedTimes = finishedTimes;
        }

        public String getPassedTimes() {
            return passedTimes;
        }

        public void setPassedTimes(String passedTimes) {
            this.passedTimes = passedTimes;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getUpdatedTime() {
            return updatedTime;
        }

        public void setUpdatedTime(String updatedTime) {
            this.updatedTime = updatedTime;
        }

        public String getCreatedTime() {
            return createdTime;
        }

        public void setCreatedTime(String createdTime) {
            this.createdTime = createdTime;
        }

        public String getCopyId() {
            return copyId;
        }

        public void setCopyId(String copyId) {
            this.copyId = copyId;
        }

        public boolean isIncludeImg() {
            return includeImg;
        }

        public void setIncludeImg(boolean includeImg) {
            this.includeImg = includeImg;
        }

        public TestResultBean getTestResult() {
            return testResult;
        }

        public void setTestResult(TestResultBean testResult) {
            this.testResult = testResult;
        }

        public List<String> getAnswer() {
            return answer;
        }

        public void setAnswer(List<String> answer) {
            this.answer = answer;
        }

        public static class MetasBean {
            private List<String> choices;

            public List<String> getChoices() {
                return choices;
            }

            public void setChoices(List<String> choices) {
                this.choices = choices;
            }
        }

        public static class TestResultBean {
            /**
             * id : 926987
             * itemId : 0
             * testId : 0
             * testPaperResultId : 11506
             * userId : 1
             * questionId : 630
             * question_category : 0
             * status : noAnswer
             * score : 0.0
             * answer : [""]
             * teacherSay :
             * pId : 0
             */

            private String id;
            private String itemId;
            private String testId;
            private String testPaperResultId;
            private String userId;
            private String questionId;
            private String question_category;
            private String status;
            private String score;
            private String teacherSay;
            private String pId;
            private List<String> answer;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getItemId() {
                return itemId;
            }

            public void setItemId(String itemId) {
                this.itemId = itemId;
            }

            public String getTestId() {
                return testId;
            }

            public void setTestId(String testId) {
                this.testId = testId;
            }

            public String getTestPaperResultId() {
                return testPaperResultId;
            }

            public void setTestPaperResultId(String testPaperResultId) {
                this.testPaperResultId = testPaperResultId;
            }

            public String getUserId() {
                return userId;
            }

            public void setUserId(String userId) {
                this.userId = userId;
            }

            public String getQuestionId() {
                return questionId;
            }

            public void setQuestionId(String questionId) {
                this.questionId = questionId;
            }

            public String getQuestion_category() {
                return question_category;
            }

            public void setQuestion_category(String question_category) {
                this.question_category = question_category;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getScore() {
                return score;
            }

            public void setScore(String score) {
                this.score = score;
            }

            public String getTeacherSay() {
                return teacherSay;
            }

            public void setTeacherSay(String teacherSay) {
                this.teacherSay = teacherSay;
            }

            public String getPId() {
                return pId;
            }

            public void setPId(String pId) {
                this.pId = pId;
            }

            public List<String> getAnswer() {
                return answer;
            }

            public void setAnswer(List<String> answer) {
                this.answer = answer;
            }
        }
    }
}
